﻿using RpcModel;
using Wedonek.RpcStore.Service.Model;

namespace Wedonek.RpcStore.Service.Interface
{
        public interface IVerConfigCollect
        {
                void CheckIsRepeat (long rpcMerId, long sysTypeId, long verNum);
                long Add (VerConfigDatum add);
                void Delete (ServiceVerConfig config);
                ServiceVerConfig Get (long id);
                BasicServiceVer[] Query (VerQueryParam query, IBasicPage paging, out long count);
                void Set (ServiceVerConfig ver, ServiceVerSet set);
                void SetIsEnable (ServiceVerConfig config, bool isEnable);
                long Copy (ServiceVerConfig config, long ver);
        }
}